<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-user-add">
        <div class="form-group">
            <label class="col-sm-3 control-label">代理用户ID：</label>
            <div class="col-sm-8">
                <input id="id" name="plUserId" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">代理等级：</label>
            <div class="col-sm-8">
                <select class="form-control input-s-sm inline" id="kickbackSelect" onchange="checkStatus()"
                        th:with="type=${@proxyLevelService.selectProxyLevel()}">
                    <option value="">请选择</option>
                    <option th:each="e : ${type}" th:text="${e['plName']}" th:value="${e['plEffective']}"></option>
                </select>
                <input style="display: none" id="kickback" name="kickback" class="form-control" type="text">
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label">登录账号：</label>
            <div class="col-sm-8">
                <input id="loginName" name="loginName" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">用户昵称：</label>
            <div class="col-sm-8">
                <input id="userName" name="userName" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">手机号码：</label>
            <div class="col-sm-8">
                <input id="phonenumber" name="phonenumber" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">密码：</label>
            <div class="col-sm-8">
                <input id="password" name="password" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <div class="form-control-static col-sm-offset-9">
                <button type="submit" class="btn btn-primary">提交</button>
                <button th:onclick="'javascript:layer_close()'" class="btn btn-danger" type="button">关闭</button>
            </div>
        </div>
    </form>
</div>
<div th:include="include::footer"></div>
<script src="/reasahi/manage/userAgent/add.js" th:src="@{/reasahi/manage/userAgent/add.js}">
</script>
</body>
</html>